<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition>
<style>
.ui_icon_bar {
    overflow: hidden;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    padding-right: 5px
}

.ui_icon_bar_calendar{
    background-image: url(../../resources/img/icons/dashboard.png);
}
</style>
<h:form>
   <p:menubar>

        <p:menuitem value="DashBoard" action="/pages/principal/principal?faces-redirect=true" icon="ui_icon_bar ui_icon_bar_calendar"/>
	
		<p:submenu label="Administrativo">    
				<p:menuitem value="Cadastrar profissional" action="/pages/base/profissional_cadastro?faces-redirect=true"  />
				<p:menuitem value="Editar profissional" action="/pages/base/profissional_consulta?faces-redirect=true"/>
			    <p:menuitem value="Cadastrar unidade" action="/pages/base/unidade_cadastro?faces-redirect=true"/>
			    <p:menuitem value="Editar unidade" action="/pages/base/unidade_consulta?faces-redirect=true"></p:menuitem>
				<p:menuitem value="Alterar acesso a aplicativos" url="http://localhost:8080/yyy/principal.tcc" />
		</p:submenu>
		<p:submenu label="Perfil de Usuário">
	        <p:menuitem   value="Alterar senha"  action="/pages/base/profissional_alter_senha?faces-redirect=true" icon="ui-icon ui-icon-key"/>
		    <p:menuitem value="Alterar Skin" action="/pages/base/skin?faces-redirect=true" icon="ui-icon ui-icon-image"/>	
		</p:submenu>
		<p:submenu label="Ajuda">
              <p:menuitem value="Help"  />
              <p:menuitem value="Sobre"   url="#" />
		</p:submenu>
		 <p:menuitem value="Sair" action="#{loginMBean.efetuarLogoff}"  icon="ui-icon ui-icon-power" style="align:left;"/>
  </p:menubar>
</h:form>	   

 
</ui:composition>
</html>